package com.wen.edu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wen.edu.entity.EduCourse;
import com.wen.edu.entity.vo.CoursePublishVo;
import com.wen.edu.entity.vo.front.FrontCourseInfoVO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author wen
 * @since 2021-05-29
 */
public interface EduCourseMapper extends BaseMapper<EduCourse> {
    CoursePublishVo getPublishCourseInfoById(String courseId);

    FrontCourseInfoVO getFrontCourseInfo(@Param("courseId") String courseId);
}
